using SqlSugar;
using System;

namespace Luka.Entities.System;

/// <summary>
/// 
///</summary>
[SugarTable("SysStation")]
[Tenant("System")]
public class SysStation
{
    /// <summary>
    /// 主键Id
    ///</summary>
    [SugarColumn(ColumnName = "Id"  , IsPrimaryKey = true , IsIdentity = true)]
    public int Id { get; set; }
    /// <summary>
    /// 岗位名称
    ///</summary>
    [SugarColumn(ColumnName = "Name" , IsNullable = true  )]
    public string? Name { get; set; }
    /// <summary>
    /// 岗位状态
    ///</summary>
    [SugarColumn(ColumnName = "Status" , IsNullable = true  )]
    public int? Status { get; set; }
    /// <summary>
    /// 部门Id
    ///</summary>
    [SugarColumn(ColumnName = "GroupId" , IsNullable = true  )]
    public int? GroupId { get; set; }
    /// <summary>
    /// 排序
    ///</summary>
    [SugarColumn(ColumnName = "Sort" , IsNullable = true  )]
    public int? Sort { get; set; }
    /// <summary>
    /// 创建时间
    ///</summary>
    [SugarColumn(ColumnName = "Created" , IsNullable = true  )]
    public DateTime? Created { get; set; }
    /// <summary>
    /// 创建人
    ///</summary>
    [SugarColumn(ColumnName = "Creater" , IsNullable = true  )]
    public string? Creater { get; set; }
    /// <summary>
    /// 修改时间
    ///</summary>
    [SugarColumn(ColumnName = "Updated" , IsNullable = true  )]
    public DateTime? Updated { get; set; }
    /// <summary>
    /// 修改人
    ///</summary>
    [SugarColumn(ColumnName = "Updater" , IsNullable = true  )]
    public string? Updater { get; set; }
    /// <summary>
    /// 是否删除
    ///</summary>
    [SugarColumn(ColumnName = "IsDel"   )]
    public int IsDel { get; set; }
}
